#include "dialog06btn.h"
#include "ui_dialog06btn.h"

Dialog06Btn::Dialog06Btn(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Dialog06Btn)
{
    ui->setupUi(this);
}

Dialog06Btn::~Dialog06Btn()
{
    delete ui;
}

void Dialog06Btn::on_pushButton_ok_clicked()
{
    pos = ui->lineEdit_pos->text().toUInt();
    value = ui->lineEdit_value->text();
    accept();
}

void Dialog06Btn::on_pushButton_no_clicked()
{
    reject();
}
